<?php
header('Content-Type:text/html; Charset=UTF-8');
require 'lib/checker.php';

@$id = $_REQUEST['id'];

@$oldame = $_REQUEST['oldName'];
@$newame = $_REQUEST['newName'];

@$oldprice = $_REQUEST['oldprice'];
@$newprice = $_REQUEST['newprice'];

@$oldimg = $_REQUEST['oldimg'];
@$newimg = $_REQUEST['newimg'];

$title = '修改菜品错误提示';
$jumpUrl = 'listperson.php';

if(empty($id)){
	$message = '获取菜品信息出错';
	include 'lib/message.php';
	die;
}

$jumpUrl = 'editperson.php?id='.$id;
